package org.gruposp2p.openid.provider

import java.util.Date;

class Photo { 
	
	static belongsTo = [userDNI:UserDNI]  

	//automatically updated for by GORM
	Date dateCreated
	Date lastUpdated
	
	byte[] file 
	String fileType 
	
	static constraints = {
		file maxSize: 1024 * 1024 
	}	

} 